package com.zmj.sy.mom.srv.aps.bean.vo.partexcept;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class PartExceptPageResVo {
    @Comment("物料异常id")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("计划id")
    private Integer workDetailId;
    @ApiModelProperty("计划任务id")
    private Integer workDetailTaskId;

    @ApiModelProperty("工件编号")
    private String materCode;

    @ApiModelProperty("工件名称")
    private String materName;

    @ApiModelProperty("plmid")
    private String plmId;

    @ApiModelProperty("图纸")
    private String drawing;

    @ApiModelProperty("施工号")
    private String constructCode;

    @ApiModelProperty("异常数量")
    private Integer exceptCount;
    @ApiModelProperty("报废数量")
    private Integer breakCount;
    @ApiModelProperty("完成数量")
    private Integer finishCount;

    @ApiModelProperty("异常工序")
    private String prePhaseCode;

    @ApiModelProperty("待加工工序")
    private String phaseCode;

    @ApiModelProperty("工序所在位置")
    private Integer phaseSeq;

    @ApiModelProperty("发起人")
    private String userCode;
    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态 1待判定  2已判定 3 处理完成")
    private Integer status;
    @ApiModelProperty("工作组编号")
    private String groupCode;
    @ApiModelProperty("钢板编号")
    private String plateCode;

    @ApiModelProperty("发送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createDateTime;
}
